package com.micro;

import com.micro.plugins.datasource.aspect.DynamicDataSourceAnnotationAdvisor;
import com.micro.plugins.datasource.aspect.DynamicDataSourceAnnotationInterceptor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020/7/29
 */
@Slf4j
@EnableAutoConfiguration
@SpringBootApplication
@ComponentScan
@EnableScheduling
@EnableTransactionManagement
public class MicroApplication {
    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(MicroApplication.class, args);
    }

}
